package cn.edu.ecut.entity;

public class Option {
    private Integer id ;
    private String content;//选项内容
    private String code ; //选项需要使用的程序代码
    private boolean key ;//只是当前选项在题目中是否是正确答案（true表示正确答案）
    private Topic topic;//当前选项属于哪个题目

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public boolean isKey() {
        return key;
    }

    public void setKey(boolean key) {
        this.key = key;
    }

    public Topic getTopic() {
        return topic;
    }

    public void setTopic(Topic topic) {
        this.topic = topic;
    }
}
